//
//  cellWith6Img.m
//  fastwatch
//
//  Created by lanou3g on 15/10/31.
//  Copyright © 2015年 songhaowen. All rights reserved.
//

#import "cellWith6Img.h"

@implementation cellWith6Img

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
//1
+(instancetype)cellWithTableView:(UITableView*)tableView{
    static NSString *cell_id = @"flag";
    cellWith6Img *cell = [tableView dequeueReusableCellWithIdentifier:cell_id];
    
    
    if (!cell) {
        cell = [[[NSBundle mainBundle] loadNibNamed:@"cellWith6Img" owner:nil options:nil] lastObject ];
    }
    return cell;
}
//2
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
//        UILabel *l = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 200, 70)];
//        l.backgroundColor = [UIColor redColor];
//        [self addSubview:l];
    }
    return self;
}
@end
